package c.j.a.c.q;

import c.j.a.c.g.y;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

/* compiled from: AntiHijackUtils */
public class b implements InvocationHandler {
    public Object a;

    public b(Object obj, a aVar) {
        this.a = obj;
    }

    public Object invoke(Object obj, Method method, Object[] objArr) throws Throwable {
        try {
            if ("startActivity".contains(method.getName())) {
                y.g(objArr);
            }
        } catch (Throwable unused) {
        }
        return method.invoke(this.a, objArr);
    }
}
